package com.ruoyi.standingbook.v2toilet.domain.bo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.standingbook.v2toilet.enums.ItemStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * V2市政公厕管养-异常工单业务对象 tz_toilet_bill_v2
 *
 * @author cc
 * @date 2023-06-07
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class V2ToiletBillBo extends BaseEntity {
    /**
     * id
     */
    private String flowCode;
    private String id;
    private Date inspectDate;//管养日期
    private Integer modified;//巡检项是否可以调整覆盖 0 YES 1  NO

    public V2ToiletBillBo() {
    }

    public V2ToiletBillBo(ItemStatusEnum statusEnum) {
        this.status = statusEnum.intCode;
    }

    /**
     * 公厕ID
     */
    @JsonIgnore
    private String toiletId;

    /**
     * 公厕名称
     */
    private String toiletName;

    /**
     * 巡检项（数据库字段小写）
     */
    private String item;
    private String itemText;
    /**
     * 处理人
     */
    private String currUser;
    /**
     * 处理状态（0,保存，1，提交，2处理中，3完成）
     */

    private Integer status;
    private String imageBefore;
    private String imageAfter;
    private String remark;
    //    private Date operateTime;
    private String operateUser;

    private String community;
    private String flowData;
    private String projectName;
    private Integer modifyCode;

}
